package com.xoa.service.hr;

import com.xoa.model.hr.HrStaffEntryWithBLOBs;
import com.xoa.util.ToJson;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public interface HrStaffEntryService {


    ToJson updateStateById(HttpServletRequest request, String auditState, Integer id, String msg);


    /**
     * 添加入职资料
     */
    ToJson insert(HrStaffEntryWithBLOBs hrStaffEntrys, HttpServletRequest request);


    HrStaffEntryWithBLOBs selectEntryById(Integer id, HttpServletRequest request);

    // 导入品类和品牌
    public ToJson importBrandAndCategory(MultipartFile file, HttpServletRequest request, HttpServletResponse response);

    // 导出品类和品牌
    void exportBrandAndCategory(HttpServletRequest request, HttpServletResponse response);

    ToJson update(HrStaffEntryWithBLOBs hrStaffEntrys, HttpServletRequest request);
}
